package example.com.zyfypt_618zgm.service;


import retrofit2.Call;

import java.util.List;

import example.com.zyfypt_618zgm.bean.ModBean;
import retrofit2.http.GET;
import retrofit2.http.Header;
import retrofit2.http.Path;
import retrofit2.http.Query;

/**
 * Created by 小茗同学 on 2017/6/1.
 */

public interface ModService {
    @GET("api.php/lists/mod/{mod}")
    Call<List<ModBean>> getArticleList(@Path("mod")String mod, @Query("page") int page, @Header("SessionID") String sessionID);
    @GET("api.php/listspecial/mod/{mod}")
    Call<List<ModBean>> getspecialList(@Path("mod") String mod, @Query("page") int page, @Header("SessionID") String sessionID);
}
